package com.marion.codestandard.demo013.task.v3.observers;

import com.marion.codestandard.demo013.task.service.ActivityService;

public class ActivityObserver implements Observer {
    private ActivityService activityService;

    public ActivityObserver() {
        this.activityService = new ActivityService();
    }

    @Override
    public void response(Long taskId) {
        activityService.notifyFinished(taskId);
    }
}
